package com.resign.carl.adapter.api.impl;

import com.resign.carl.adapter.api.Duck;

/**
 * 绿头鸭
 * Created by carl.zhao on 2016/6/15.
 */
public class MallardDuck implements Duck {
    @Override
    public void quack() {
        System.out.println("Quack");
    }

    @Override
    public void fly() {
        System.out.println("I'm flying");
    }
}
